<script>
	export default {
		onLaunch: function() {
			var taht = this
			var token = uni.getStorageSync('token');
			if (token == '' || token == null || token == undefined) {
				uni.reLaunch({
					url:'/pages/page/logoin'
				})
			} else {
				uni.switchTab({
					url:'/pages/page/launch'
				})
			}
		},
		onShow: function() {

		},
		onHide: function() {

		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
	@import "common/demo.scss";

	.bolck {
		width: 100%;
		height: 100rpx;
	}
	

	

	/* #ifdef APP-PLUS */
	uni-swiper .uni-swiper-dot {
		width: 12rpx;
		height: 12rpx;
		border-radius: 50%;
		background: rgba(3, 129, 84, 0.5);
	}

	uni-swiper .uni-swiper-dot-active {
		background-color: #038154;
		width: 36rpx;
		border-radius: 6rpx;
	}

	/* #endif */

	/* #ifdef H5 */
	uni-swiper .uni-swiper-dot {
		width: 12rpx;
		height: 12rpx;
		border-radius: 50%;
		background: rgba(3, 129, 84, 0.5);
	}

	uni-swiper .uni-swiper-dot-active {
		background-color: #038154;
		width: 36rpx;
		border-radius: 6rpx;
	}

	/* #endif */
</style>